#include "PatrolEnemy.h"
#include "XML\XMLTreeNode.h"
#include "EnemyManager.h"

CPatrolEnemy::CPatrolEnemy(CXMLTreeNode node)
{
	m_Name = node.GetPszProperty("name");
	m_Life = node.GetFloatProperty("life");
	m_Pos = node.GetVect3fProperty("pos", Vect3f());
	m_Yaw = node.GetFloatProperty("yaw");

	CXMLTreeNode core_node = CEnemyManager::GetInstance()->GetCoreEnemy("patrol");
	m_Life = core_node.GetFloatProperty("life");
}

CPatrolEnemy::~CPatrolEnemy(void)
{
}

void
CPatrolEnemy::Update()
{

}

void
CPatrolEnemy::Render()
{

}

void
CPatrolEnemy::Init()
{

}